package com.ajieee.merge.exception;

import lombok.Getter;

/**
 * @author ajieee
 * @date 2025-10-25
 */
@Getter
public class AuthException extends RuntimeException {

	private final int code = 401;

	private final String username;

	private final String detailMessage;

	public AuthException(String username, String detailMessage) {
		super("用户名/密码错误");
		this.username = username;
		this.detailMessage = detailMessage;
	}

}
